package controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import service.UserService;
import service.impl.UserServiceImpl;

@Controller
@RequestMapping("/user")
public class userController {
    private UserService userService=new UserServiceImpl();
    @RequestMapping("/index")
    public String index(){
        return "index";
    }
    @RequestMapping("/login")
    public String login(){
        return "login";
    }
    @RequestMapping("/list")
    public String list(){
        return "list";
    }
}
